package com.yiyuan.app.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("连续充值领取宝箱参数")
@Data
public class BoxDTO implements Serializable {

    @ApiModelProperty(value = "充值记录表id")
    @NotNull(message = "充值记录表id不能为空")
    private Long rechargeRecordId;

    @ApiModelProperty(value = "领取的第几天宝箱，传 3，5，7")
    @NotNull(message = "领取天数不能为空")
    private Integer day;
}
